package com.tianhui.consignortwofei.mvp.ui.activity;

import com.fgs.common.CommonFragment;
import com.fgs.common.CommonPresenter;
import com.fgs.common.CommonView;
import com.fgs.common.manager.ActivityManager;
import com.tianhui.consignortwofei.R;
import com.tianhui.consignortwofei.base.BaseActivity;

import butterknife.OnClick;

/**
 * @author fgs
 * @date 2020/9/18
 * @description
 **/
public class ResetPasswordSuccessActivity extends BaseActivity {


    @Override
    public int getLayoutId() {
        return R.layout.activity_reset_password_success;
    }

    @Override
    public CommonPresenter createPresenter() {
        return null;
    }

    @Override
    public CommonView createView() {
        return null;
    }

    @Override
    public String getToolbarTitle() {
        return "密码找回";
    }

    @Override
    public void init() {

    }

    @Override
    public CommonFragment createFragment() {
        return null;
    }

    @Override
    public void onBackIconClick() {
        reLogin();
    }

    @OnClick(R.id.activity_reset_password_success_reLoginButton)
    public void reLogin() {
        ActivityManager.getInstance().finishAllActivity();
        openActivity(LoginActivityNew.class);
    }
}
